package fileIO;

import java.io.BufferedReader;
import java.io.InputStreamReader;

public class ReadDate {
	public static void main(String[] args) {
		BufferedReader br;
		String yourName = null ;
		int yourAge = 0;
		br = new BufferedReader(new InputStreamReader(System.in));
		try {
			System.out.println("please input your name:");
			yourName = br.readLine();
			System.out.println("please input your age:");
			yourAge = Integer.parseInt(br.readLine());
		} catch (Exception e) {
			e.printStackTrace();
		}
		System.out.println("your name is:"+yourName);
		System.out.println("your age is:"+yourAge);
	}
}
